<template>
  <!-- 查看检查报告 -->
  <el-dialog title="检查报告" :visible="value" width="1000px" custom-class="dialog-box" @close="onClose" @open="onOpen" :close-on-click-modal="false" :append-to-body="true">
    <report :cureId="cureId" :patientId="patientId" ></report>
    <!-- <span slot="footer">
      <el-button type="primary" :loading="btnLoading" @click="onSubmit">确 定</el-button>
    </span> -->
  </el-dialog>
</template>
<script>
export default {
  props: ["value", "cureId","patientId"],
  data() {
    return {
      btnLoading: false
    };
  },
  methods: {
    onSubmit() {
      const th = this;
      th.onClose();
    },
    onOpen() {
      const th = this;
    },
    onClose() {
      const th = this;
      th.$emit("input", false);
    }
  },
  components:{
      "report":()=>import("@/pages/_com/reportRecord")
  }
};
</script>